Package com.cisco.pt.ipc.sim.impl
Class CbacProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.CbacProcessImpl
- All Implemented Interfaces:
IPCObject,CbacProcess,Process
Information provided by the PKI file:
\class CbacProcess
\brief CbacProcess is the process that handles CBAC.
\example network().getDevice("Router0").getProcess("CbacProcess")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionCbacProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetCbacAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:voidsetDnsTimeout(int timeout) Information provided by the PKI file:voidsetGlobalAlert(boolean val) Information provided by the PKI file:voidsetGlobalAuditTrail(boolean val) Information provided by the PKI file:voidsetMaxIncompleteHigh(int hinum) Information provided by the PKI file:voidsetMaxIncompleteLow(int lonum) Information provided by the PKI file:voidsetOneMinuteHigh(int hinum) Information provided by the PKI file:voidsetOneMinuteLow(int lonum) Information provided by the PKI file:voidsetTcpFinWaitTime(int finwait) Information provided by the PKI file:voidsetTcpIdleTime(int idleTime) Information provided by the PKI file:voidsetTcpSynWaitTime(int synTime) Information provided by the PKI file:voidsetUdpIdleTime(int idleTime) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
CbacProcessImpl
public CbacProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getCbacCount
public int getCbacCount()Information provided by the PKI file:
\brief Returns the number of CBAC access lists. \return int, the number of CBAC access lists.- Specified by:
getCbacCountin interfaceCbacProcess- Returns:
- int Returns a int
-
getCbacAt
Information provided by the PKI file:
\brief Returns the CBAC access list at the specified index. \param index, index to get the access list from \return Cbac, the CBAC access list at the specified index.- Specified by:
getCbacAtin interfaceCbacProcess- Parameters:
index- Takes in a parameter of index- Returns:
- Cbac Returns a Cbac
-
setGlobalAuditTrail
public void setGlobalAuditTrail(boolean val) Information provided by the PKI file:
\brief Enables or disables global audit trail. \param val, values: eDefault = -1, eFalse = 0, eTrue = 1- Specified by:
setGlobalAuditTrailin interfaceCbacProcess- Parameters:
val- Takes in a parameter of val
-
setGlobalAlert
public void setGlobalAlert(boolean val) Information provided by the PKI file:
\brief Enables or disables global alert. \param val, values: eDefault = -1, eFalse = 0, eTrue = 1- Specified by:
setGlobalAlertin interfaceCbacProcess- Parameters:
val- Takes in a parameter of val
-
setTcpSynWaitTime
public void setTcpSynWaitTime(int synTime) Information provided by the PKI file:
\brief Sets the value for TCP sync wait. \param synTime, the value for TCP sync wait.- Specified by:
setTcpSynWaitTimein interfaceCbacProcess- Parameters:
synTime- Takes in a parameter of synTime
-
setTcpFinWaitTime
public void setTcpFinWaitTime(int finwait) Information provided by the PKI file:
\brief Sets the value for TCP FIN wait. \param finwait, the value for TCP FIN wait.- Specified by:
setTcpFinWaitTimein interfaceCbacProcess- Parameters:
finwait- Takes in a parameter of finwait
-
setTcpIdleTime
public void setTcpIdleTime(int idleTime) Information provided by the PKI file:
\brief Sets the value for TCP idle time. \param idleTime, the value for TCP idle time.- Specified by:
setTcpIdleTimein interfaceCbacProcess- Parameters:
idleTime- Takes in a parameter of idleTime
-
setUdpIdleTime
public void setUdpIdleTime(int idleTime) Information provided by the PKI file:
\brief Sets the value for UDP idle time. \param idleTime, the value for UDP idle time.- Specified by:
setUdpIdleTimein interfaceCbacProcess- Parameters:
idleTime- Takes in a parameter of idleTime
-
setDnsTimeout
public void setDnsTimeout(int timeout) Information provided by the PKI file:
\brief Sets the value for DNS timeout. \param timeout, the value for DNS timeout.- Specified by:
setDnsTimeoutin interfaceCbacProcess- Parameters:
timeout- Takes in a parameter of timeout
-
getGlobalAuditTrail
public boolean getGlobalAuditTrail()Information provided by the PKI file:
\brief Returns the global audit trail value. \return Bool, values: eDefault = -1, eFalse = 0, eTrue = 1- Specified by:
getGlobalAuditTrailin interfaceCbacProcess- Returns:
- boolean Returns a boolean
-
getGlobalAlert
public boolean getGlobalAlert()Information provided by the PKI file:
\brief Returns the global alert value. \return Bool, values: eDefault = -1, eFalse = 0, eTrue = 1- Specified by:
getGlobalAlertin interfaceCbacProcess- Returns:
- boolean Returns a boolean
-
setMaxIncompleteHigh
public void setMaxIncompleteHigh(int hinum) Information provided by the PKI file:
\brief Sets the max-incomplete high value. \param hinum, the max-incomplete high value.- Specified by:
setMaxIncompleteHighin interfaceCbacProcess- Parameters:
hinum- Takes in a parameter of hinum
-
setMaxIncompleteLow
public void setMaxIncompleteLow(int lonum) Information provided by the PKI file:
\brief Sets the max-incomplete low value. \param lonum, the max-incomplete low value.- Specified by:
setMaxIncompleteLowin interfaceCbacProcess- Parameters:
lonum- Takes in a parameter of lonum
-
setOneMinuteHigh
public void setOneMinuteHigh(int hinum) Information provided by the PKI file:
\brief Sets the one-minute high value. \param hinum, the one-minute high value.- Specified by:
setOneMinuteHighin interfaceCbacProcess- Parameters:
hinum- Takes in a parameter of hinum
-
setOneMinuteLow
public void setOneMinuteLow(int lonum) Information provided by the PKI file:
\brief Sets the one-minute low value. \param lonum, the one-minute low value.- Specified by:
setOneMinuteLowin interfaceCbacProcess- Parameters:
lonum- Takes in a parameter of lonum
-